package com.xianyu.us.pojo.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 封装用户实体信息
 * @author wangshili
 *
 */
public class UsUser implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -8024149252834360837L;
	/**
	 * 
	 */
	
	private Integer id;
	private String username;
	private String password;
	private String salt;
	private String phone;
	private String email;
	private Date createdTime;
	private Date modifyTime;
	private String introduction;//个人简介
	
	public UsUser() {}
	
	
	public UsUser(Integer id, String username, String password, String salt, String phone, String email,
			Date createdTime, Date modifyTime, String introduction) {
		super();
		this.id = id;
		this.username = username;
		this.password = password;
		this.salt = salt;
		this.phone = phone;
		this.email = email;
		this.createdTime = createdTime;
		this.modifyTime = modifyTime;
		this.introduction = introduction;
	}


	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getSalt() {
		return salt;
	}
	public void setSalt(String salt) {
		this.salt = salt;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public Date getCreatedTime() {
		return createdTime;
	}
	public void setCreatedTime(Date createdTime) {
		this.createdTime = createdTime;
	}
	public Date getModifyTime() {
		return modifyTime;
	}
	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}
	public String getIntroduction() {
		return introduction;
	}
	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	@Override
	public String toString() {
		return "UsUser [id=" + id + ", username=" + username + ", password=" + password + ", salt=" + salt + ", phone="
				+ phone + ", email=" + email + ", createdTime=" + createdTime + ", modifyTime=" + modifyTime
				+ ", introduction=" + introduction + "]";
	};
	
	
	
}
